package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:47
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelBaseDAO extends IDataAccessInterface<ProductModelBase, ProductModelBaseDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_BASE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_BASE.ID";

    /**
     * Mapped Field MODEL_BASE_NAME
    */
    static final String ModelBaseName = "PRODUCT_MODEL_BASE.MODEL_BASE_NAME";

    /**
     * Mapped Field MODEL_BASE_TYPE
    */
    static final String ModelBaseType = "PRODUCT_MODEL_BASE.MODEL_BASE_TYPE";

    /**
     * Mapped Field CREATOR_NAME
    */
    static final String CreatorName = "PRODUCT_MODEL_BASE.CREATOR_NAME";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "PRODUCT_MODEL_BASE.CREATE_TIME";

    /**
     * Mapped Field LAST_MODIFIER_NAME
    */
    static final String LastModifierName = "PRODUCT_MODEL_BASE.LAST_MODIFIER_NAME";

    /**
     * Mapped Field LAST_MODIFY_TIME
    */
    static final String LastModifyTime = "PRODUCT_MODEL_BASE.LAST_MODIFY_TIME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_BASE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_BASE.REMARKS";

    /**
     * Mapped Field OWNER_ID
    */
    static final String OwnerId = "PRODUCT_MODEL_BASE.OWNER_ID";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelBase findById(final long id) throws Exception;

    /**
         * Query Related ProductModelBaseRelate
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.product.model.dao.ProductModelBaseRelate[] queryProductModelBaseRelate(
        final ProductModelBaseDAOQueryBean queryBean) throws Exception;

    /**
         * Query Related ProductModelBaseRelate Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] queryProductModelBaseRelateSelective(
        final ProductModelBaseDAOQueryBean queryBean) throws Exception;

    /**
         * Update Related ProductModelBaseRelate
         * @param aProductModelBaseRelate
         * @param queryBean
         * @throws Exception
         */
    void updateProductModelBaseRelate(
        final com.ourteam.product.model.dao.ProductModelBaseRelate aProductModelBaseRelate,
        ProductModelBaseDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related ProductModelBaseRelate
         * @param queryBean
         * @throws Exception
         */
    void deleteProductModelBaseRelate(
        final ProductModelBaseDAOQueryBean queryBean) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute modelBaseName
         */
        static final String ModelBaseName = "modelBaseName";

        /**
         * Attribute modelBaseType
         */
        static final String ModelBaseType = "modelBaseType";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";

        /**
         * Attribute lastModifierName
         */
        static final String LastModifierName = "lastModifierName";

        /**
         * Attribute lastModifyTime
         */
        static final String LastModifyTime = "lastModifyTime";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute ownerId
         */
        static final String OwnerId = "ownerId";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
